<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Cube for iOS: &lt;CMessagingEventDelegate&gt;协议 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Cube for iOS
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('protocol_c_messaging_event_delegate-p.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">构造函数</a> &#124;
<a href="protocol_c_messaging_event_delegate-p-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">&lt;CMessagingEventDelegate&gt;协议 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>消息模块事件的代理协议。  
 <a href="protocol_c_messaging_event_delegate-p.html#details">更多...</a></p>

<p><code>#import &lt;<a class="el" href="_c_messaging_service_8h_source.html">CMessagingService.h</a>&gt;</code></p>
<div class="dynheader">
类 &lt;CMessagingEventDelegate&gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="protocol_c_messaging_event_delegate-p.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
构造函数</h2></td></tr>
<tr class="memitem:a6f3ec4927106c44241576d2bfc0c11b1"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_c_messaging_event_delegate-p.html#a6f3ec4927106c44241576d2bfc0c11b1">messageSending:service:</a></td></tr>
<tr class="memdesc:a6f3ec4927106c44241576d2bfc0c11b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">消息正在发送。  <a href="protocol_c_messaging_event_delegate-p.html#a6f3ec4927106c44241576d2bfc0c11b1">更多...</a><br /></td></tr>
<tr class="separator:a6f3ec4927106c44241576d2bfc0c11b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10a9851cd75afc8b70d19e556e74e86e"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_c_messaging_event_delegate-p.html#a10a9851cd75afc8b70d19e556e74e86e">messageSent:service:</a></td></tr>
<tr class="memdesc:a10a9851cd75afc8b70d19e556e74e86e"><td class="mdescLeft">&#160;</td><td class="mdescRight">消息已经发送。  <a href="protocol_c_messaging_event_delegate-p.html#a10a9851cd75afc8b70d19e556e74e86e">更多...</a><br /></td></tr>
<tr class="separator:a10a9851cd75afc8b70d19e556e74e86e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51c17a6f4d545ddd2ef51ec3c5ad09b9"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_c_messaging_event_delegate-p.html#a51c17a6f4d545ddd2ef51ec3c5ad09b9">messageReceived:service:</a></td></tr>
<tr class="memdesc:a51c17a6f4d545ddd2ef51ec3c5ad09b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">接收到新消息。  <a href="protocol_c_messaging_event_delegate-p.html#a51c17a6f4d545ddd2ef51ec3c5ad09b9">更多...</a><br /></td></tr>
<tr class="separator:a51c17a6f4d545ddd2ef51ec3c5ad09b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>消息模块事件的代理协议。 </p>
</div><h2 class="groupheader">函数文档</h2>
<a id="a51c17a6f4d545ddd2ef51ec3c5ad09b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51c17a6f4d545ddd2ef51ec3c5ad09b9">&#9670;&nbsp;</a></span>messageReceived:service:</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (void) messageReceived: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_message.html">CMessage</a> *)&#160;</td>
          <td class="paramname"><em>message</em></td>
        </tr>
        <tr>
          <td class="paramkey">service:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_messaging_service.html">CMessagingService</a> *)&#160;</td>
          <td class="paramname"><em>service</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">optional</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>接收到新消息。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>消息实体。 </td></tr>
    <tr><td class="paramname">service</td><td>消息服务。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6f3ec4927106c44241576d2bfc0c11b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f3ec4927106c44241576d2bfc0c11b1">&#9670;&nbsp;</a></span>messageSending:service:</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (void) messageSending: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_message.html">CMessage</a> *)&#160;</td>
          <td class="paramname"><em>message</em></td>
        </tr>
        <tr>
          <td class="paramkey">service:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_messaging_service.html">CMessagingService</a> *)&#160;</td>
          <td class="paramname"><em>service</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">optional</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>消息正在发送。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>消息实体。 </td></tr>
    <tr><td class="paramname">service</td><td>消息服务。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a10a9851cd75afc8b70d19e556e74e86e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10a9851cd75afc8b70d19e556e74e86e">&#9670;&nbsp;</a></span>messageSent:service:</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (void) messageSent: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_message.html">CMessage</a> *)&#160;</td>
          <td class="paramname"><em>message</em></td>
        </tr>
        <tr>
          <td class="paramkey">service:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_messaging_service.html">CMessagingService</a> *)&#160;</td>
          <td class="paramname"><em>service</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">optional</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>消息已经发送。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>消息实体。 </td></tr>
    <tr><td class="paramname">service</td><td>消息服务。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该协议的文档由以下文件生成:<ul>
<li><a class="el" href="_c_messaging_service_8h_source.html">CMessagingService.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="protocol_c_messaging_event_delegate-p.html">CMessagingEventDelegate</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
